package practice01;

public class StringDemo {
    public static void main(String[] args) {
        String name = "1239i09lsma;'fjr 23j8h11 fjovawquiugO78F";
        int a = name.length();                 //获取字符串长度
        int b = name.indexOf("f");             //索引字符串中第一个f
        int c = name.lastIndexOf("a");     //索引字符串中最后一个a

    }
}
